<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="../../../layui/css/layui.css">
</head>
<body>
<form class="layui-form" id="asd" action="JavaScript:;" lay-filter="formfilter">
  <table border="1" style="width: 1050px">
    <tr>
      <td>部门名称</td>
      <td><input type="text" name="departmentname" class="layui-input"></td>
    </tr>
    <tr style="display: none">
      <td><input type="text" id="isable" name="isenable" class="layui-input"></td>
    </tr>
    <tr>
      <td>是否启用</td>
      <td>
        <select lay-filter="isenable">
          <option value="">请选择状态</option>
          <option value="0">关闭</option>
          <option value="1">开启</option>
        </select>
      </td>
    </tr>
    <tr>
      <td>部门概述</td>
      <td><input type="text" id="bmgs" name="departmentdescription" class="layui-input"></td>
    </tr>
  </table>
  <div class="layui-input-block" style="margin-left: 500px">
    <button class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
  </div>
</form>
<script src="../../../js/jquery-3.6.0.js"></script>
<script src="../../../layui/layui.js"></script>
<script src="../../../js/permissions/addpermissionstable.js"></script>
</body>
</html>